home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 9 / FM Towns Free Software Collection 9.iso / t_os / tool / fxcdl / src / makefile < prev    next >
Encoding:
Makefile  |  1994-11-16  |  594 b   |  33 lines

  1. VPATHDELIM = ;
  2. VPATH    = 
  3.  
  4. #default rules for make
  5. .SUFFIXES: .obj .a86 .p86 .c .y
  6. YFLAGS =
  7. CFLAGS =
  8. AFLAGS =
  9. .y.c:
  10.     yacc $YFLAGS $<
  11. .y.obj:
  12.     yacc $YFLAGS $<
  13.     lcc $CFLAGS -j -c -o $@ $*.c
  14.     del $*.c
  15. .p86.obj .c.obj:
  16.     lcc $CFLAGS -j -c -o $@ $<
  17. .a86.obj:
  18.     r86 $AFLAGS -o $@ $<
  19. .obj.exe .c.exe .a86.exe:
  20.     lcc $CFLAGS -j -o $@ $#
  21.  
  22. #=====================================================================
  23.  
  24. fxcdl.exe : fxcdl.obj tspath.obj
  25.     lcc -j -o $@ $#
  26.     echo SUCCESS!
  27.  
  28. sptest.exe : sptest.obj tspath.obj
  29.     lcc -j -o $@ $#
  30.     echo SUCCESS!
  31.  
  32. tspath.obj : tspath.c tspath.h
  33.